<link rel="stylesheet" type="text/css" href="/static/admin/wangEditor/dist/css/wangEditor.min.css">
<script type="text/javascript" src="/static/admin/wangEditor/dist/js/lib/jquery-1.10.2.min.js"></script>
<script type="text/javascript" src="/static/admin/wangEditor/dist/js/wangEditor.js"></script>
<style type="text/css">

        #editor-trigger {
            height: 400px;
            min-height: 300px;
        }

        .container {
            width: 100%;
            margin: 0 auto;
            position: relative;
        }
        
    </style>
  <!--   <div id="editor-container" class="container">
        <textarea id="editor-trigger" style="display:none;">
            <p></p>
        </textarea>
    </div> -->

    
<!-- <script type="text/javascript">
        var editor = new wangEditor('editor-trigger');

        // 上传图片
        editor.config.uploadImgUrl = "{:url('Upload/wangUpload')}";
        editor.config.uploadParams = {
        };
        editor.config.uploadHeaders = {
            // 'Accept' : 'text/x-json'
        }
        // 表情显示项
        editor.config.emotionsShow = 'value';
        editor.config.emotions = {
        };
        editor.onchange = function () {
            console.log(this.$txt.html());
        };
        editor.create();
</script> -->